{% extends 'leave/admin.html' %}
{% block content %}

<script type="text/javascript">
			app.controller('content',function ($scope) {
				$scope.heads=['empid','姓名','16可用年假','15可用年假'];
				$scope.items={{items | safe}};
					
			});
			</script>
			<div ng-controller='content'>
				<!--<div sim-table items='items' head='head'></div>-->
				<table class="table table-hover">
					<tr><th ng-repeat="head in heads">[[head]]</th></tr>

					<tr ng-repeat='item in items'>
						<td ng-bind='item.empid'></td>
						<td ng-bind='item.name'></td>
						<td ng-bind='item.thisyear'></td>
						<td ng-bind='item.lastyear'></td>
					</tr>
				</table>
			</div>
{% endblock %}